import { mapGetters } from 'vuex'
export default {
  name: 'prepare',
  computed: {
    ...mapGetters([
      'name'
    ])
  },
  data() {
    return {
      showSigner: true,
      course: {
        title: '课程名称'
      },
      tableData: [],
      form: {
        note: '笔记内容'
      },
      centerDialogVisible: false,
      classes: {
        placeholder: '请选择班级',
        value: '',
        options: [
          {
            value: 1,
            label: '班级一'
          }, {
            value: 2,
            label: '班级二'
          }, {
            value: 3,
            label: '班级三'
          }, {
            value: 4,
            label: '班级四'
          }, {
            value: 5,
            label: '班级五'
          }
        ]
      },
      status: 0
    }
  },
  created() {
    if (this.$route.query.title) {
      console.log(this.$route.query.title)
      this.course.title = this.$route.query.title
    } else {
      console.log('this.$route.query.title')
    }
  },
  mounted() {
  },
  methods: {}
}
